<?php

require_once 'Oos.php';

$oos = new Oos("http://localhost/api/v1");
$oos->setCredentials("luis@11870.com", "xx");

$sites = $oos->sites();

$feed = $sites->getSiteFeed('peralta');

foreach ($feed as $entry) {
  $entry->setReviewTitle($entry->getReviewTitle() . " NEW ");
  $entry->setReviewContent($entry->getReviewContent() . " NEW ");
  $entry->addTag("apitag2");
  $entry->addList("Pendientes");
  $entry->save();
}

?>